﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FifaChamps.API.Data
{
    public class Tournament
    {
        public int TournamentID { get; private set; }
        public string Name { get; private set; }
        public string Venue { get; private set; }
        public DateTime TournameDate { get; private set; }
        public int? NumberOfPlayers { get; private set; }
        public DateTime? StartDate { get; private set; }
        public DateTime? EndDate { get; private set; }
        public string TournamentOfficial { get; private set; }

        internal Tournament()
        { }

        internal Tournament(int tournamentid, string name, string venue, DateTime tournamentdate, int? players, DateTime? start, DateTime? end, string official)
        {
            TournamentID = tournamentid;
            Name = name;
            Venue = venue;
            TournameDate = tournamentdate;
            NumberOfPlayers = players;
            StartDate = start;
            EndDate = end;
            TournamentOfficial = official;
        }
    }
}
